//1 引入封装的axios文件
import req from '../utils/request.js'
//登录的请求
export function Login(data) {
    return req.post('/users/checkLogin', data)
}
//添加请求
export function addUser(data) {
    return req.post('/users/add', data)
}
//获取账号请求
export function listUser(data) {
    return req.get('/users/list', data)
}
//删除账号
export function delUser(data) {
    return req.get('/users/del', data)
}
//删除多选账号
export function batdelUser(data) {
    return req.get('/users/batchdel', data)
}
//修改账号
export function editUser(data) {
    return req.post('/users/edit', data)
}